﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default_edit.aspx.cs" Inherits="EM.humanresources.employee.default_edit" %>

<%@ Register Src="../../Common/NumberFormat.ascx" TagName="NumberFormat" TagPrefix="uc5" %>
<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="radI" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>
<%@ Register Assembly="RadTabStrip.Net2" Namespace="Telerik.WebControls" TagPrefix="radTS" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<%@ Register Assembly="RadUpload.Net2" Namespace="Telerik.WebControls" TagPrefix="radU" %>
<%@ Register Src="~/Common/Header.ascx" TagName="Header" TagPrefix="uc2" %>
<%@ Register Src="~/Common/PageName.ascx" TagName="PageName" TagPrefix="uc1" %>
<%@ Register Src="~/Common/SectionName.ascx" TagName="SectionName" TagPrefix="uc3" %>
<%@ Register Src="~/Common/Footer.ascx" TagName="Footer" TagPrefix="uc4" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link runat="server" id="linkCss" rel="stylesheet" href="~/css/master.css" type="text/css" />
    <link runat="server" id="linkcssbuttons" rel="stylesheet" href="~/css/buttons.css" type="text/css" />
    <script src="../../js/popup.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <uc5:NumberFormat ID="NumberFormat1" runat="server"></uc5:NumberFormat>
        <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td class="TdMainContent" valign="top">
                    <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td class="TdPageName" colspan="2">
                                <uc1:PageName ID="PageName" PAGEID="40" runat="server"></uc1:PageName>
                            </td>
                        </tr>
                        <tr>
                            <td id="TdMainLeft" class="TdMainLeft" valign="top">
                                <div id="ContentLeft">
                                    <div class="RightTabDivHeader">
                                        <asp:Label ID="lblPersonnel" runat="server"></asp:Label></div>
                                    <radTS:RadTabStrip ID="rtsPersonnel" runat="server" MultiPageID="rmpPersonnel" skin="masterTab"
                                        CausesValidation="false" ScrollChildren="false" Orientation="VerticalLeftToRight">
                                        <Tabs>
                                            <radTS:Tab ID="tabPersonalInfo" PageViewID="pvPersonalInfo" Text="Kişisel Bilgiler"></radTS:Tab>
                                            <radTS:Tab ID="tabAdditionalInfo" PageViewID="pvAdditionalInfo" Text="Ek Bilgiler"></radTS:Tab>
                                            <radTS:Tab ID="tabContactInfo" PageViewID="pvContactInfo" Text="İletişim Bilgileri"></radTS:Tab>
                                            <radTS:Tab ID="tabAttachments" PageViewID="pvAttachments" Text="Eklentiler"></radTS:Tab>
                                        </Tabs>
                                    </radTS:RadTabStrip>
                                </div>
                            </td>
                            <td id="TdMainRight" valign="top" width="100%">
                                <div id="ContentRight">
                                    <asp:HiddenField ID="hdnEMPLOYEEID" runat="server" />
                                    <radTS:RadMultiPage ID="rmpPersonnel" runat="server">
                                        <radTS:PageView ID="pvPersonalInfo" runat="server" CssClass="Pg">
                                            <uc3:SectionName ID="snPersonalInfo" PAGESECTIONID="1" PAGEWIDTH="550px" runat="server"></uc3:SectionName>
                                            <table class="MasterEditTable" cellpadding="0" cellspacing="0" border="0">
                                                
                                                <tr>
                                                    <td class="EditTableLable_Td">İsim:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtFIRSTNAME" runat="server" MaxLength="1000" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvFIRSTNAME" runat="server" ControlToValidate="txtFIRSTNAME" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen isim giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Soy isim:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtLASTNAME" runat="server" MaxLength="1000" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvLASTNAME" runat="server" ControlToValidate="txtLASTNAME" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen soy isim giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Tam gerçek isim:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtPREFEREDNAME" runat="server" MaxLength="1000" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvPREFEREDNAME" runat="server" ControlToValidate="txtPREFEREDNAME" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen tam ismi giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Durumu:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlSTATUS" runat="server" class="EditinputRq" Style="width:200px;" OnSelectedIndexChanged="ddlSTATUS_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvStatus" runat="server" ControlToValidate="ddlStatus" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen çalışanın durumunu seçiniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">İşe Başlama Tarihi:</td>
                                                    <td>
                                                        <radCln:RadDatePicker ID="rdpDATEOFHIRE" runat="server" DateInput-DateFormat="dd.MM.yyyy" MinDate="01/01/1900" Width="95">
                                                            <DateInput skin="masterRq"></DateInput>
                                                        </radCln:RadDatePicker>
                                                        <asp:RequiredFieldValidator ID="rfvDATEOFHIRE" runat="server" ControlToValidate="rdpDATEOFHIRE" ValidationGroup="vgPI" Display="None" InitialValue="1900-01-01" ErrorMessage="Lütfen işe başlama tarihini giriniz"></asp:RequiredFieldValidator>

                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">İşten Ayrılma Tarihi:</td>
                                                    <td>
                                                        <radCln:RadDatePicker ID="rdpDATEOFLEAVE" runat="server" DateInput-DateFormat="dd.MM.yyyy" MinDate="01/01/1900" Width="95">
                                                            <DateInput skin="master"></DateInput>
                                                        </radCln:RadDatePicker>
                                                        <asp:RequiredFieldValidator ID="rfvDATEOFLEAVE" runat="server" ControlToValidate="rdpDATEOFLEAVE" ValidationGroup="vgPI" Display="None" InitialValue="1900-01-01" ErrorMessage="Lütfen işten ayrılış tarihini giriniz"></asp:RequiredFieldValidator>

                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">İşten Ayrılış Sebebi:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtDESCRIPTIONOFLEAVING" runat="server" MaxLength="1000" Style="width: 200px; height: 75px;" TextMode="MultiLine" class="Editinput"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvDESCRIPTIONOFLEAVING" runat="server" ControlToValidate="txtDESCRIPTIONOFLEAVING" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen işten ayrılış açıklamasını giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Cinsiyet:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlGENDERCODE" runat="server" class="EditinputRq" Style="width:200px;"></asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvGENDERCODE" runat="server" ControlToValidate="ddlGENDERCODE" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen cinsiyet seçiniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Medeni durum:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlMARITALSTATUS" runat="server" class="EditinputRq" Style="width:200px;"> </asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvMARITALSTATUS" runat="server" ControlToValidate="ddlMARITALSTATUS" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen medeni durum seçiniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Kızlık soyadı:</td>
                                                    <td><asp:TextBox ID="txtMAIDENNAME" runat="server" MaxLength="1000" class="Editinput" Style="width: 200px;"></asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Doğum tarihi:</td>
                                                    <td>
                                                        <radCln:RadDatePicker ID="rdpDATEOFBIRTH" runat="server" DateInput-DateFormat="dd.MM.yyyy" MinDate="01/01/1900" Width="95">
                                                                <DateInput skin="masterRq"></DateInput>
                                                        </radCln:RadDatePicker>
                                                        <asp:RequiredFieldValidator ID="rfvDATEOFBIRTH" runat="server" ControlToValidate="rdpDATEOFBIRTH" ValidationGroup="vgPI" Display="None" InitialValue="1900-01-01" ErrorMessage="Lütfen doğum tarihi giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Doğum yeri:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtPLACEOFBIRTH" runat="server" MaxLength="1000" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Ülkesi:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlCOUNTRYOFCITIZENSHIP" runat="server" class="EditinputRq" Style="width: 200px;"></asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvCOUNTRYOFCITIZENSHIP" runat="server" ControlToValidate="ddlCOUNTRYOFCITIZENSHIP" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen ülke seçiniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Askerlik durumu:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlMILITARYSTATUS" runat="server" class="EditinputRq" Style="width: 200px;"></asp:DropDownList>
                                                        <asp:RequiredFieldValidator ID="rfvMILITARYSTATUS" runat="server" ControlToValidate="ddlMILITARYSTATUS" ValidationGroup="vgPI" Display="None" ErrorMessage="Lütfen askerlik durumunu seçiniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Tecil son tarihi:</td>
                                                    <td>
                                                        <radCln:RadDatePicker ID="rdpMILITARYDEFERREDUNTIL" runat="server" DateInput-DateFormat="dd.MM.yyyy" MaxDate="01/01/2049" MinDate="01/01/2000" Width="95">
                                                            <DateInput skin="master"></DateInput>
                                                        </radCln:RadDatePicker>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Kan grubu:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlBLOODTYPE" runat="server" class="Editinput" Style="width: 200px;"></asp:DropDownList></td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Sürücü lisansı:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlDLICENSE" runat="server" class="Editinput" Style="width: 200px;"></asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Uluslararası sürücü lisansı:</td>
                                                    <td>
                                                        <asp:DropDownList ID="ddlDLICENSEINTERNATIONAL" runat="server" class="Editinput" Style="width: 200px;"></asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" style="text-align: right; height: 24px;">
                                                    </td>
                                                </tr>
                                            </table>
                                            <div style="width: 550px">
                                                <asp:ValidationSummary ID="vsPI" runat="server" DisplayMode="BulletList" Width="0px" ShowSummary="false" ShowMessageBox="true" ValidationGroup="vgPI" />
                                                <div style="width:550px;">
                                                    <asp:LinkButton ID="btnPISave" style="float:right;" CssClass="btn_left xp_ok" runat="server" OnClick="btnPISave_Click" ValidationGroup="vgPI">
                                                        <strong class="btn_rigth_xp xp"><asp:Label ID="lblPISave" runat="server" Text="Kaydet"></asp:Label></strong>
                                                    </asp:LinkButton>
                                                    <a id="btnPIReturn" style="float:right;"  class="btn_left xp_back"  runat="server" >
                                                        <strong class="btn_rigth_xp xp"><asp:Label ID="Label1" runat="server" Text="Geri"></asp:Label></strong>
                                                    </a>
                                                </div>
                                            </div>
                                        </radTS:PageView>
                                        <radTS:PageView ID="pvAdditionalInfo" runat="server" CssClass="Pg">
                                            <uc3:SectionName ID="snAdditionalInfo" PAGESECTIONID="2" PAGEWIDTH="550px" runat="server"></uc3:SectionName>
                                            <asp:Repeater ID="rptAdditionalInfo" runat="server" OnItemCommand="rptAdditionalInfo_ItemCommand" OnItemDataBound="rptAdditionalInfo_ItemDataBound">
                                                <HeaderTemplate>
                                                    <table class="Repeater_Table" cellpadding="0" cellspacing="0">
                                                        <tr style="font-weight: bold; background-color: #99ccff">
                                                            <td class="Repeater_Table_Header">&nbsp;</td>
                                                            <td class="Repeater_Table_Header" width="150px"><asp:Label ID="lblADDINFOTYPE" runat="server" Text="Bilgi Tipi"></asp:Label></td>
                                                            <td class="Repeater_Table_Header"><asp:Label ID="lblADDINFOVALUE" runat="server" Text="Değeri"></asp:Label></td>
                                                            <td class="Repeater_Table_Header"><asp:Label ID="lblADDINFONOTES" runat="server" Text="Not"></asp:Label></td>
                                                            <td class="Repeater_Table_Header" width="100px" align="center"><asp:Label ID="lblActions" runat="server" Text="İşlemler"></asp:Label></td>
                                                        </tr>
                                                        <tr>
                                                            <td class="Repeater_Table_ItemLeft">&nbsp;</td>
                                                            <td class="Repeater_Table_Item">
                                                                <asp:DropDownList ID="ddlADDINFOTYPE" runat="server" CssClass="EditinputRq" Style="width: 150px;"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvADDINFOTYPE" runat="server" ControlToValidate="ddlADDINFOTYPE" ValidationGroup="vgAIAdd" Display="None" ErrorMessage="Lütfen bilgi tipini seçiniz"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td class="Repeater_Table_Item">
                                                                <asp:TextBox ID="txtADDINFOVALUE" Width="150px" CssClass="EditinputRq" runat="server" MaxLength="250"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="rfvADDINFOVALUE" runat="server" ControlToValidate="txtADDINFOVALUE" ValidationGroup="vgAIAdd" Display="None" ErrorMessage="Lütfen değerini giriniz"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td class="Repeater_Table_Item">
                                                                <asp:TextBox CssClass="Editinput" ID="txtADDINFONOTES" Width="150px" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td class="Repeater_Table_Item" align="center">
                                                                <asp:ValidationSummary ID="vsAIAdd" runat="server" DisplayMode="BulletList" ValidationGroup="vgAIAdd" Width="0px" ShowSummary="false" ShowMessageBox="true" />
                                                                <asp:LinkButton ID="btnAIAdd" runat="server" CommandName="Insert" ValidationGroup="vgAIAdd" Text="Ekle"></asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <tr>
                                                        <td class="Repeater_Table_ItemLeft">
                                                            <a style="cursor: pointer" onclick="showccmm(20,'<%#Eval("EMPADDINFOID") %>',0,1)" id="a1">
                                                                <img id="imgInfo" src="~/images/info.gif" border="0" runat="server" />
                                                            </a>
                                                        </td>
                                                        <td class="Repeater_Table_Item">
                                                            <asp:DropDownList ID="ddlADDINFOTYPE" runat="server" CssClass="EditinputRq" Style="width:150px;"></asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvADDINFOTYPE" runat="server" ControlToValidate="ddlADDINFOTYPE" Display="None" ErrorMessage="Lütfen bilgi tipini seçiniz"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td class="Repeater_Table_Item">
                                                            <asp:TextBox ID="txtADDINFOVALUE" Width="150px" CssClass="EditinputRq" runat="server" Text='<%#Eval("ADDINFOVALUE") %>' MaxLength="250"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvADDINFOVALUE" runat="server" ControlToValidate="txtADDINFOVALUE" Display="None" ErrorMessage="Lütfen değerini giriniz"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td class="Repeater_Table_Item">
                                                            <asp:TextBox CssClass="Editinput" ID="txtADDINFONOTES" Width="150px" runat="server" Text='<%#Eval("ADDINFONOTES") %>'></asp:TextBox>
                                                        </td>
                                                        <td class="Repeater_Table_Item" align="center">
                                                            <asp:ValidationSummary ID="vsAIUpdate" runat="server" DisplayMode="BulletList" Width="0px" ShowSummary="false" ShowMessageBox="true" />
                                                            <asp:LinkButton ID="btnAIUpdate" runat="server" CommandName="Update" Text="Güncelle"></asp:LinkButton>&nbsp;
                                                            <asp:LinkButton ID="btnAIDelete" runat="server" CommandName="Delete" CausesValidation="false" Text="Sil"></asp:LinkButton>
                                                            <asp:HiddenField ID="hdnEMPADDINFOID" runat="server" Value='<%#Eval("EMPADDINFOID") %>' />
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <AlternatingItemTemplate>
                                                    <tr>
                                                        <td class="Repeater_Table_ItemLeft_Alternating">
                                                            <a style="cursor: pointer" onclick="showccmm(20,'<%#Eval("EMPADDINFOID") %>',0,1)" id="a1">
                                                                <img id="imgInfo" src="~/images/info.gif" border="0" runat="server" />
                                                            </a>
                                                        </td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <asp:DropDownList ID="ddlADDINFOTYPE" runat="server" CssClass="EditinputRq" Style="width:150px;"></asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvADDINFOTYPE" runat="server" ControlToValidate="ddlADDINFOTYPE" Display="None" ErrorMessage="Lütfen bilgi tipini seçiniz"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <asp:TextBox ID="txtADDINFOVALUE" Width="150px" CssClass="EditinputRq" runat="server" Text='<%#Eval("ADDINFOVALUE") %>' MaxLength="250"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="rfvADDINFOVALUE" runat="server" ControlToValidate="txtADDINFOVALUE" Display="None" ErrorMessage="Lütfen değerini giriniz"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <asp:TextBox CssClass="Editinput" ID="txtADDINFONOTES" Width="150px" runat="server" Text='<%#Eval("ADDINFONOTES") %>'></asp:TextBox>
                                                        <td class="Repeater_Table_Item_Alternating" align="center">
                                                            <asp:ValidationSummary ID="vsAIUpdate" runat="server" DisplayMode="BulletList" Width="0px" ShowSummary="false" ShowMessageBox="true" />
                                                            <asp:LinkButton ID="btnAIUpdate" runat="server" CommandName="Update" Text="Güncelle"></asp:LinkButton>&nbsp;
                                                            <asp:LinkButton ID="btnAIDelete" runat="server" CommandName="Delete" CausesValidation="false" Text="Sil"></asp:LinkButton>
                                                            <asp:HiddenField ID="hdnEMPADDINFOID" runat="server" Value='<%#Eval("EMPADDINFOID") %>' />
                                                        </td>
                                                    </tr>
                                                </AlternatingItemTemplate>
                                                <FooterTemplate>
                                                    </table>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <br />
                                            <div style="width:610px">
                                                <a id="btnAIReturn" style="float:right" class="btn_left xp_back" runat="server">
                                                    <strong class="btn_rigth_xp xp"><asp:Label ID="lblAIReturn" runat="server" Text="Geri"></asp:Label></strong>
                                                </a>
                                            </div>
                                        </radTS:PageView>
                                        <radTS:PageView ID="pvContactInfo" runat="server" CssClass="Pg">
                                            <uc3:SectionName ID="snContactInfo" PAGESECTIONID="3" PAGEWIDTH="550px" runat="server"></uc3:SectionName>
                                            <table class="MasterEditTable" cellpadding="0" cellspacing="0" border="0">
                                                <tr>
                                                    <td class="EditTableLable_Td">İşyeri e-mail (1):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtCORPORATEEMAIL1" runat="server" MaxLength="150" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvCORPORATEEMAIL1" runat="server" ValidationGroup="vgCI" ControlToValidate="txtCORPORATEEMAIL1" Display="None" ErrorMessage="Lütfen işyeri e-mail adresini giriniz"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="revCORPORATEEMAIL1" ValidationGroup="vgCI" runat="server" ControlToValidate="txtCORPORATEEMAIL1" Display="none" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Lütfen işyeri e-mail adresini doğru formatta giriniz"></asp:RegularExpressionValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">İşyeri e-mail (2):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtCORPORATEEMAIL2" runat="server" MaxLength="150" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RegularExpressionValidator ID="revCORPORATEEMAIL2" ValidationGroup="vgCI" runat="server" ControlToValidate="txtCORPORATEEMAIL2" Display="none" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Lütfen işyeri e-mail(2) adresini doğru formatta giriniz"></asp:RegularExpressionValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Kişisel telefon (1):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtPERSONALMOBILE1" runat="server" MaxLength="20" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvPERSONALMOBILE1" runat="server" ValidationGroup="vgCI" ControlToValidate="txtPERSONALMOBILE1" Display="None" ErrorMessage="Lütfen kişisel telefonu giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Kişisel telefon (2):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtPERSONALMOBILE2" runat="server" MaxLength="20" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">İşyeri telefon:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtCORPORATEMOBILE" runat="server" MaxLength="20" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">İşyeri telefon (kısa):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtCORPORATEMOBILESHORTNO" runat="server" MaxLength="20" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Ev telefonu:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtHOMEPHONE" runat="server" MaxLength="20" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Kişisel e-mail (1):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtPERSONALEMAIL1" runat="server" MaxLength="150" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RegularExpressionValidator ID="revPERSONALEMAIL1" ValidationGroup="vgCI" runat="server" ControlToValidate="txtPERSONALEMAIL1" Display="none" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Lütfen kişisel e-mail adresini doğru formatta giriniz"></asp:RegularExpressionValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Kişisel e-mail (2):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtPERSONALEMAIL2" runat="server" MaxLength="150" class="Editinput" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RegularExpressionValidator ID="revPERSONALEMAIL2" ValidationGroup="vgCI" runat="server" ControlToValidate="txtPERSONALEMAIL2" Display="none" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Lütfen kişisel e-mail(2) adresini doğru formatta giriniz"></asp:RegularExpressionValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Ev adresi:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtHOMEADDRESS" runat="server" MaxLength="500" class="Editinput" style="width:200px; height:60px" TextMode="MultiLine"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Acil durumda iletişime geçilecek isim:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtEMERGENCYCONTACTINFO" runat="server" MaxLength="150" class="EditinputRq" Style="width: 200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvEMERGENCYCONTACTINFO" runat="server" ValidationGroup="vgCI" ControlToValidate="txtEMERGENCYCONTACTINFO" Display="None" ErrorMessage="Lütfen acil durumda iletişime geçilecek ismi giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Acil durumda iletişime geçilecek telefon:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtEMERGENCYCONTACTPHONE1" runat="server" MaxLength="20" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvEMERGENCYCONTACTPHONE1" runat="server" ValidationGroup="vgCI" ControlToValidate="txtEMERGENCYCONTACTPHONE1" Display="None" ErrorMessage="Lütfen acil durumda iletişime geçilecek telefonu giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Acil durumda iletişime geçileceğin ilişkisi:</td>
                                                    <td>
                                                        <asp:TextBox ID="txtEMERGENCYCONTACTRELATION" runat="server" MaxLength="150" class="EditinputRq" Style="width: 200px;"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="rfvEMERGENCYCONTACTRELATION" runat="server" ValidationGroup="vgCI" ControlToValidate="txtEMERGENCYCONTACTRELATION" Display="None" ErrorMessage="Lütfen acil durumda iletişime geçilecek kişinin ilişkisini giriniz"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="EditTableLable_Td">Acil durumda iletişime geçilecek telefonu (2):</td>
                                                    <td>
                                                        <asp:TextBox ID="txtEMERGENCYCONTACTPHONE2" runat="server" MaxLength="20" class="Editinput" style="width: 200px;"></asp:TextBox></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" style="text-align: right; height: 24px;">
                                                    </td>
                                                </tr>
                                            </table>
                                            <div style="width: 550px">
                                                <asp:ValidationSummary ID="vsCI" runat="server" DisplayMode="BulletList" Width="0px" ShowSummary="false" ShowMessageBox="true" ValidationGroup="vgCI" />
                                                <div style="width:550px;">
                                                    <asp:LinkButton ID="btnCISave" style="float:right;" CssClass="btn_left xp_ok" runat="server" OnClick="btnCISave_Click" ValidationGroup="vgCI">
                                                        <strong class="btn_rigth_xp xp"><asp:Label ID="lblSave" runat="server" Text="Kaydet"></asp:Label></strong>
                                                    </asp:LinkButton>
                                                    <a id="btnCIReturn" style="float:right;"  class="btn_left xp_back"  runat="server" >
                                                        <strong class="btn_rigth_xp xp"><asp:Label ID="lblCIReturn" runat="server" Text="Geri"></asp:Label></strong>
                                                    </a>
                                                </div>
                                            </div>
                                        </radTS:PageView>
                                        <radTS:PageView ID="pvAttachments" runat="server" CssClass="Pg">
                                            <uc3:SectionName ID="snAttachments" PAGESECTIONID="4" PAGEWIDTH="770px" runat="server"></uc3:SectionName>
                                            <asp:Repeater ID="drAttachments" runat="server" OnItemCommand="drAttachments_ItemCommand" OnItemDataBound="drAttachments_ItemDataBound">
                                                <HeaderTemplate>
                                                    <table class="Repeater_Table" style="width: 770px" cellpadding="0" cellspacing="0">
                                                        <tr style="font-weight: bold; background-color: #99ccff">
                                                            <td class="Repeater_Table_Header">&nbsp;</td>
                                                            <td class="Repeater_Table_Header" nowrap>Eklenti Tipi</td>
                                                            <td class="Repeater_Table_Header">Dosya Adı</td>
                                                            <td class="Repeater_Table_Header" nowrap style="width: 130px;">Upload Tarihi</td>
                                                            <td class="Repeater_Table_Header">Not</td>
                                                            <td class="Repeater_Table_Header" align="center">İşlemler</td>
                                                        </tr>
                                                        <tr>
                                                            <td class="Repeater_Table_ItemLeft">&nbsp;</td>
                                                            <td class="Repeater_Table_Item">
                                                                <asp:DropDownList ID="ddlATTACHMENTTYPE" runat="server" CssClass="EditinputRq" Width="150"></asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvATTACHMENTTYPE" runat="server" ControlToValidate="ddlATTACHMENTTYPE" ValidationGroup="vgAAdd" Display="None" ErrorMessage="Lütfen eklenti tipini seçiniz"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td class="Repeater_Table_Item">
                                                                <radU:RadUpload ID="ruATTACHMENTNAME" runat="server" AllowedFileExtensions=".doc,.docx,.gif,.jpg,.jpeg,.bmp,.pdf,.ppt,.pptx,.txt,.vsd,.xls,.xlsx,.tif"
                                                                    ControlObjectsVisibility="None" InitialFileInputsCount="1" MaxFileInputsCount="1"
                                                                    MaxFileSize="5242880" Width="200px" Skin="master"></radU:RadUpload>
                                                            </td>
                                                            <td class="Repeater_Table_Item">&nbsp;</td>
                                                            <td class="Repeater_Table_Item"><asp:TextBox ID="txtATTACHMENTDESC" Width="100" CssClass="Editinput" runat="server"></asp:TextBox></td>
                                                            <td class="Repeater_Table_Item" align="center" valign="middle" style="width:80px;">
                                                                <asp:ValidationSummary ID="vsAAdd" runat="server" DisplayMode="BulletList" ValidationGroup="vgAAdd" Width="0px" ShowSummary="false" ShowMessageBox="true" />
                                                                <asp:LinkButton ID="btnAAdd" runat="server" CommandName="Insert" ValidationGroup="vgAAdd" Text="Ekle"></asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <tr>
                                                        <td class="Repeater_Table_ItemLeft" style="width: 20px;">
                                                            <a style="cursor: pointer" onclick="showccmm(41,'<%#Eval("ATTACHMENTID") %>',0,1)" id="a1"><img id="imgInfo" src="~/images/info.gif" border="0" runat="server" /></a>
                                                        </td>
                                                        <td class="Repeater_Table_Item">
                                                            <asp:DropDownList ID="ddlATTACHMENTTYPE" runat="server" CssClass="EditinputRq" Width="100%"></asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvATTACHMENTTYPE" runat="server" ControlToValidate="ddlATTACHMENTTYPE" Display="None" ErrorMessage="Lütfen ek tipi seçiniz"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td class="Repeater_Table_Item">
                                                            <a target="_blank" id="aATTACHMENTNAME" runat="server"><asp:Label ID="lblATTACHMENTNAME" runat="server" Text='<%#Eval("ATTACHMENTNAME") %>'></asp:Label></a></td>
                                                        <td class="Repeater_Table_Item">
                                                            <asp:Label ID="lblCREDATE" runat="server" Width="120"></asp:Label></td>
                                                        <td class="Repeater_Table_Item">
                                                            <asp:TextBox ID="txtATTACHMENTDESC" Width="100%" CssClass="Editinput" runat="server" Text='<%#Eval("ATTACHMENTDESC") %>'></asp:TextBox></td>
                                                        <td class="Repeater_Table_Item" align="center">
                                                            <asp:ValidationSummary ID="vsAttUpdate" runat="server" DisplayMode="BulletList" Width="0px" ShowSummary="false" ShowMessageBox="true" />
                                                            <asp:LinkButton ID="btnAUpdate" runat="server" CommandName="Update" CommandArgument='<%#Eval("ATTACHMENTID") %>' Text="Güncelle"></asp:LinkButton>&nbsp;
                                                            <asp:LinkButton ID="btnADelete" runat="server" CommandName="Delete" CommandArgument='<%#Eval("ATTACHMENTID") %>' Text="Sil"></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <AlternatingItemTemplate>
                                                    <tr>
                                                        <td class="Repeater_Table_ItemLeft_Alternating" style="width: 20px;">
                                                            <a style="cursor: pointer" onclick="showccmm(41,'<%#Eval("ATTACHMENTID") %>',0,1)" id="a1"><img id="imgInfo" src="~/images/info.gif" border="0" runat="server" /></a>
                                                        </td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <asp:DropDownList ID="ddlATTACHMENTTYPE" runat="server" CssClass="EditinputRq" Width="100%"></asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="rfvATTACHMENTTYPE" runat="server" ControlToValidate="ddlATTACHMENTTYPE" Display="None" ErrorMessage="Lütfen ek tipi seçiniz"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <a target="_blank" id="aATTACHMENTNAME" runat="server"><asp:Label ID="lblATTACHMENTNAME" runat="server" Text='<%#Eval("ATTACHMENTNAME") %>'></asp:Label></a></td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <asp:Label ID="lblCREDATE" runat="server" Width="120"></asp:Label></td>
                                                        <td class="Repeater_Table_Item_Alternating">
                                                            <asp:TextBox ID="txtATTACHMENTDESC" Width="100%" CssClass="Editinput" runat="server" Text='<%#Eval("ATTACHMENTDESC") %>'></asp:TextBox></td>
                                                        <td class="Repeater_Table_Item_Alternating" align="center">
                                                            <asp:ValidationSummary ID="vsAttUpdate" runat="server" DisplayMode="BulletList" Width="0px" ShowSummary="false" ShowMessageBox="true" />
                                                            <asp:LinkButton ID="btnAUpdate" runat="server" CommandName="Update" CommandArgument='<%#Eval("ATTACHMENTID") %>' Text="Güncelle"></asp:LinkButton>&nbsp;
                                                            <asp:LinkButton ID="btnADelete" runat="server" CommandName="Delete" CommandArgument='<%#Eval("ATTACHMENTID") %>' Text="Sil"></asp:LinkButton>
                                                        </td>
                                                    </tr>
                                                </AlternatingItemTemplate>
                                                <FooterTemplate>
                                                    </table>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                            <br />
                                            <div style="width:772px">
                                                <a id="btnAReturn" style="float: right" class="btn_left xp_back" runat="server"><strong class="btn_rigth_xp xp">
                                                    <asp:Label ID="lblAReturn" runat="server" Text="Geri"></asp:Label></strong></a>
                                            </div>
                                        </radTS:PageView>
                                    </radTS:RadMultiPage>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        
        <radA:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <radA:AjaxSetting AjaxControlID="ddlSTATUS">
                    <UpdatedControls>
                        <radA:AjaxUpdatedControl ControlID="rdpDATEOFLEAVE" />
                        <radA:AjaxUpdatedControl ControlID="txtDESCRIPTIONOFLEAVING" />
                        <radA:AjaxUpdatedControl ControlID="rfvDESCRIPTIONOFLEAVING" />
                        <radA:AjaxUpdatedControl ControlID="rfvDATEOFLEAVE" />
                    </UpdatedControls>
                </radA:AjaxSetting>
            </AjaxSettings>
        </radA:RadAjaxManager>

    </form>
</body>
</html>
